package com.aggregate.pay.weixin.support.client;

import com.aggregate.pay.weixin.bean.OrderQueryData;
import com.aggregate.pay.weixin.bean.OrderQueryResult;
import com.aggregate.pay.weixin.support.AbstractClient;
import com.aggregate.pay.weixin.support.Factory;
import com.aggregate.pay.weixin.support.Merch;

/**
 * 微信支付官方接口-订单查询
 * @author Moyq5
 * @date 2018年6月15日
 */
public class OrderQuery extends AbstractClient<OrderQueryData, OrderQueryResult> {

	public OrderQuery(Merch merch) {
		super(merch);
	}

	@Override
	protected Class<OrderQueryResult> getResultClass() {
		return OrderQueryResult.class;
	}

	@Override
	protected String getApiPath() {
		return Factory.getConfig().serverPath() + "/pay/orderquery";
	}

}
